home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / OutOfPhase1.01Source / OutOfPhase Folder / DisassemblyWindow.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-01  |  2.0 KB  |  60 lines  |  [TEXT/KAHL]

  1. /* DisassemblyWindow.h */
  2.  
  3. #ifndef Included_DisassemblyWindow_h
  4. #define Included_DisassemblyWindow_h
  5.  
  6. /* DisassemblyWindow module depends on */
  7. /* MiscInfo.h */
  8. /* Audit */
  9. /* Debug */
  10. /* Definitions */
  11. /* Screen */
  12. /* TextEdit */
  13. /* EventLoop */
  14. /* Menus */
  15. /* WindowDispatcher */
  16. /* Memory */
  17. /* MainWindowStuff */
  18. /* GrowIcon */
  19. /* Main */
  20. /* GlobalWindowMenuList */
  21.  
  22. #include "Screen.h"
  23. #include "EventLoop.h"
  24. #include "Menus.h"
  25.  
  26. struct DisaWindowRec;
  27. typedef struct DisaWindowRec DisaWindowRec;
  28.  
  29. /* forward declarations */
  30. struct MainWindowRec;
  31.  
  32. /* create a new disassembly window.  the window is basically a non-editable text */
  33. /* field containing the Data passed in (linefeed = 0x0a).  the caller is responsible */
  34. /* for disposing of Data.  the function automatically notifies the main window */
  35. /* that it has been created. */
  36. DisaWindowRec*            NewDisassemblyWindow(char* Data, struct MainWindowRec* Owner);
  37.  
  38. /* dispose of the disassembly window.  this automatically notifies the main window */
  39. /* that it has been destroyed. */
  40. void                                DisposeDisassemblyWindow(DisaWindowRec* Window);
  41.  
  42. /* event handling routines for disassembly window */
  43. void                                DisassemblyWindowDoIdle(DisaWindowRec* Window,
  44.                                             MyBoolean CheckCursorFlag, OrdType XLoc, OrdType YLoc,
  45.                                             ModifierFlags Modifiers);
  46. void                                DisassemblyWindowBecomeActive(DisaWindowRec* Window);
  47. void                                DisassemblyWindowBecomeInactive(DisaWindowRec* Window);
  48. void                                DisassemblyWindowJustResized(DisaWindowRec* Window);
  49. void                                DisassemblyWindowDoMouseDown(OrdType XLoc, OrdType YLoc,
  50.                                             ModifierFlags Modifiers, DisaWindowRec* Window);
  51. void                                DisassemblyWindowDoKeyDown(unsigned char KeyCode,
  52.                                             ModifierFlags Modifiers, DisaWindowRec* Window);
  53. void                                DisassemblyWindowClose(DisaWindowRec* Window);
  54. void                                DisassemblyWindowUpdator(DisaWindowRec* Window);
  55. void                                DisassemblyWindowMenuSetup(DisaWindowRec* Window);
  56. void                                DisassemblyWindowDoMenuCommand(DisaWindowRec* Window,
  57.                                             MenuItemType* MenuItem);
  58.  
  59. #endif
  60.